home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1996 November / macformat-043.iso / mac / Shareware Plus / Developers / OpenStack Rinaldi Collection / openstack-rinaldi-lib / InputDialog 1.2 (US) / InputDialog 1.2 (US).rsrc / HELP_5635 < prev    next >
Encoding:
Text File  |  1996-01-09  |  2.8 KB  |  75 lines

  1.  
  2.  
  3.                                             InputDialog 1.2
  4.  
  5.                                           by Frédéric RINALDI
  6.  
  7.  
  8. DESCRIPTION
  9.   InputDialog displays a dynamic dialog with 1 to 3 edit fields, 1 to 4 buttons and 1 to 4 radio buttons.
  10.  
  11. SYNTAX
  12.             InputDialog  [<title>,[<prompts>[,<defaults>[,<buttons>
  13.                               [,<radios>[,<separator>]]]]]]
  14.  
  15. PARAMETERS
  16.    All parameters are optional.
  17.  
  18.    <title> Is the dialog title. Default is "Input"
  19.  
  20.    <prompts> is a comma delimited list giving fields headers. An empty item will hide the corresponding header and its associated edit field.
  21.  
  22.    <defaults> is a comma delimited list giving the edit fields default content.
  23.  
  24.    <buttons> is a comma delimited list giving the standard buttons names. An empty item will hide the corresponding button.
  25.  
  26.    <radios> is a comma delimited list giving the radio buttons names. An empty item will hide the corresponding radio button.
  27.  
  28.    <separator> is a single char allowing to specify the imput delimiter. Default is comma.
  29.  
  30.    Using "!", "?" and "=" as first parameter will return an online help (resp. copyright,  syntax and output).
  31.  
  32. USING
  33.    The XFCN needs associated DLOG/DITL resources.
  34.  
  35. CAUTION
  36.    You can edit the size of the dialog or the size of items with ResEdit. But don't rename the dialog or delete any of its items.
  37.  
  38. RESULT
  39.    InputDialog returns a 5 lines result :
  40.  
  41.       <name of selected radio button> (or empty if none)
  42.       <name of button that closed the dialog>
  43.       <edit field 1 content>
  44.       <edit field 2 content>
  45.       <edit field 3 content>
  46.  
  47.    So you need only to use "line X of..." to get any part of the result.
  48.  
  49. ERRORS
  50. If an error occurs, InputDialog can return :
  51.      "Error : Missing DLOG ressource"
  52.      "Error : Missing DITL ressource"
  53.      "Error : Out of memory"
  54.  
  55.  
  56. HISTORY
  57. 1.2                                                                  05/23/94
  58. • Fixed bug when clicking in card's title bar
  59.  
  60. 1.1                                                                  02/28/94
  61. • Added smarter DLOG/DITL checking
  62. • Added movable dialog drag ability
  63. • Added return and enter keys handling
  64.  
  65. 1.0                                                                  05/02/93
  66. • First public release
  67. --------------------------------------------------------------------
  68.    All externals included in this stack are FreeWare and may be used in non-commercial software provided the following notice is visibly present :
  69.  
  70.                    InputDialog XFCN © Frederic Rinaldi, 1989…1994.
  71.  
  72.    Free for non-commercial use. Use in commercial software subjected to prior acknowledgement and licensing from the author, reachable at the following network addresses:
  73.  
  74. AppleLink: RINALDI1   CalvaCom : FR10    Compuserve : 71170,2111
  75.                Internet : RINALDI1@APPLELINK.APPLE.COM